body {
    padding-top: 50px;/* 留出导航的高度 */
    background-color: #f4f4f4;
}
a:focus {
    outline:none;
}
.container{
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 4px rgba(0, 0, 0, 0.29);
}
.row1,.row2,.row3{
    background-color: #ffffff;
}
/*导航*/
.navbar .container{
    width: 100%;
    padding: 0 20px;
}
.navbar-inverse .navbar-nav>li>a:hover{
    background-color: #111111;
}

/*导航 搜索*/
.navbar-inverse .navbar-nav>li>input {
    float: right;
    margin: 8px 0 3px 0;
    padding-right: 20px;
    outline:none; /*去掉默认的突显轮廓线*/
    border: 0px;
    font-size:.8em;
    border-radius: 0px ;
    background-color: #222222;
    color:#ffffff;
    text-indent: 0px;
    background-color: #111111;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(107, 194, 253, 0.14);
    transition: box-shadow 1s,border-radius 1s;
}
.navbar-inverse .navbar-nav>li>input:hover {
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    border-radius: 5px ;
}
.search-hover-style {
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
    border-radius: 5px !important;
}
/*导航 logo*/
.navbar-brand img{
    height: 120%;
    display: inline-block;
    margin-right: 10px;
}
/*中间内容*/

/*内容的第1行 顶部广告 */
.row1{
    margin-top: 15px;
    margin-bottom: 15px;
}
.row1>div{
    padding: 0;
    margin: 0;
}
.row1>div img{
    width: 100%;
}
/*最新消息 滚动效果*/
.news .glyphicon{
    float: left;
}
.myscroll {
    float: right;
    width: 80%;
    height: 30px;
    margin: 0 auto;
    line-height: 26px;
    font-size: 12px;
    overflow: hidden;
}
.myscroll li {
    height: 26px;
    margin-left: 25px;
}
.myscroll ul {
    list-style-type: none;
}
.myscroll a {
    color: #333;
    text-decoration: none;
}
.myscroll a:hover {
    color: #ED5565;
    text-decoration: underline;
}

/*内容的第二行*/
h3{
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
}
.bs-callout {
    padding: 1px 0 0 5px;
    border-bottom: 1px solid #eee;
    border-left: 5px solid;
    border-radius: 3px;
    margin-bottom: 10px;
}
.bs-callout-info {
    border-left-color: #3c91cf;
}
.bs-callout-success{
    border-buttom-color: #13cf27;
}
.row2 #column-right{
    padding: 0;
}
.article-category span{
    display: block;
    float: left;
    margin: 5px !important;
    padding: 5px;
}
.article-category a{
    display: block;
    float: left;
    background-color: #ebebeb;
    text-decoration: none;
    color: #0f0f0f;
    transition: all .2s ease-out;
    margin: 5px !important;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
}
.article-category a.selected{
    background-color: rgba(53, 153, 219, 0.86);
    border: 1px solid rgba(49, 140, 201, 0.86);
}
.article-category a:hover{
    background-color: rgba(58, 169, 242, 0.86);
}
.article-top20 ul{
     list-style: none;
 }
.article-top20 ul li{
    margin-left: -40px;
}
.toprank_blue{
    color: #008aff !important;
    border: 1px #008aff solid !important;
}
.toprank_red{
    color: #ff9097 !important;
    border: 1px #ff9097 solid !important;
}

.article-top20 ul li a{
    display: inline-block;
    padding-left: 25px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    position: relative;
}
.article-top20 ul li a i{
    display: block;
    top: 5px;
    left: 0;
    width: 18px;
    height: 18px;
    line-height: 16px;
    font-style: normal;
    color: #aab2bd;
    text-align: center;
    font-size: 12px;
    border: 1px #aab2bd solid;
    border-radius: 100%;
    position: absolute;

}
/*话题*/
.topic{
    margin-bottom: 15px;
}
.topic .topic_box{
    position:relative;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px rgba(0, 0, 0, 0.45);
    transition:box-shadow .3s;
}
.topic .topic_box:hover{
    position:relative;
    box-shadow: inset 10px 5px 5px rgba(0,0,0,.075),0 0 8px rgb(0, 0, 0);
}
.topic .topic_box img{
    width: 100%;
}

.topic .topic_box .topic_box_center{
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 30px;
    magrin-right: 10px;;
    position: absolute;
    text-align: center;
    z-index: 4;
}
.topic h5{
    color: #ffffff !important;
    font-size: 1.1em !important;
    font-weight: 300 !important;
}

/*文章列表*/
.recommend-article .media{
    border-bottom: 1px dashed #c9c9cc;
    padding: 15px 0 !important;
    transition: background-color .2s;
}
.recommend-article .media:hover{
    background-color: #ffffff;
}
.recommend-article .media img{
    width: 60px;
    height:auto;
}

.recommend-article .media .media-body .author-name{
    text-decoration: none;
    font-size: 0.9em;
    border-right: 1px solid #cccccc;
    padding-right: 5px;
    margin-right: 5px;
}

.recommend-article .media .media-body .article-title{
    font-size: 1.1em;
    color: #333333;
    transition: color .2s;
}
.recommend-article .media .media-body .article-title:hover{
    color: #3599db;
}
.article-extend-info {
    padding: 2px;
    margin-bottom: 2px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.article-extend-info span {
    padding: 0 20px 0 0;
}
.recommend-article .intro{
    margin-top: 5px;
}

/*写作大人*/
.articles-writing-top .media img{
    width: 50px;
}
.articles-writing-top .media .media-body h5{
    padding: 2px;
}
.articles-writing-top .media .media-body .badge{
    margin: 0 0 5px 5px !important;
    background-color: #F56E18 !important;
}


#footer {
    width: 100%;
    /* Set the fixed height of the footer here */
    height: auto;
    background-color: #dddddd;
    text-align: center;
    padding: 30px;
    margin: 30px 0 0 0;
    font-size: 0.8em;
}
#footer a{
    margin: 0 3px;
}
#footer p{
    margin-top: 10px;
}


/*文章列表CSS*/
.fs16{
    font-size: 16px;
    font-weight: 700;
}
.articles-writing{
    font-size: 12px;
}
.articles-writing span{
    display: block;
    float: left;
    height: 25px;
    line-height: 25px;
    padding-top: 5px;
}
.articles-writing a{
    float: left;
    display: block;
    margin: 0 5px 5px 1px;
    padding-bottom: 5px;


}
.articles-writing a img{
    width: 25px;
    height: 25px;
    transition:box-shadow .1s;
}
.articles-writing a img:hover{
    box-shadow: inset 0px 1px 1px rgba(0,0,0,.075),0 0 3px rgb(100, 100, 100);
}

/***** 文章详情 *****/
.article-attrs img{
    width: 20px;
}
.article-attrs .media-body label{
    margin-left: 10px;
}
.article-tag span{
    margin: 0 10px;
}
.zan{
    margin: 0 auto;
    padding: 15px 30px 11px 65px;
    width: 320px;
    border-radius: 100px;
    background: #e67e22;
    font-size: 1.8em;
    color: #ffffff;
    cursor: pointer;
}
.zan span.zan-num{
    font-size: 14px;
}
.zan:hover{
    background: #ff9222;
    border: 1px solid #cf7221;
}

.btn-favorit{
    margin: 0 auto;
    padding: 15px 10px 11px 35px;
    width: 200px;
    border-radius: 100px;
    border: 2px solid rgba(49, 202, 255, 0.82);
    font-size: 1.2em;
    color: #c93d3e;
    cursor: pointer;
}
.btn-favorit .glyphicon-heart{
    font-size: 1.9em;
}
.btn-favorit:hover{
    background: rgba(49, 202, 255, 0.38);
    color: #ff3d29;

}

.reply-container{
    border: 2px solid rgba(225, 223, 229, 0.82);
    padding: 10px;
}
.glyphicon-tags::before{
    margin-right: 10px;
}

.comments {
    margin-top: 20px;
    padding: 1px 0 0 5px;
    border-bottom: 2px solid #16a912;
    border-radius: 3px;
    margin-bottom: 10px;
    color: #0d840e;
}


@media (max-width: 768px) {
    #footer {
        width: 100%;
        height: auto;
    }
    #footer a{
        display: block;
        text-align: center;
        margin: 10px 3px;
    }
}